﻿package view.task
{
    import com.core.*;
    import com.sh.game.util.*;
    import flash.events.*;
    import flash.geom.*;
    import morn.core.components.*;

    public class Mulinstance extends Component
    {
        private var _txt1:Label;
        private var _txtName:Label;

        public function Mulinstance()
        {
            var _loc_1:Boolean = true;
            mouseEnabled = true;
            mouseChildren = _loc_1;
            this._txt1 = new Label(MColor.getHMTL("[官印]", 6) + "<u>魔域殿堂</u>");
            this._txt1.isHtml = true;
            this._txt1.color = MColor.New16;
            this._txt1.align = "left";
            this._txt1.stroke = "0x0";
            this._txt1.addEventListener(MouseEvent.CLICK, this.linkHandler);
            this.addChild(this._txt1);
            return;
        }// end function

        override public function get height() : Number
        {
            return 20;
        }// end function

        private function linkHandler(event:MouseEvent) : void
        {
            var _loc_2:* = new Point(mouseX, mouseY);
            ModelProxy.change("plugin", "change", {target:"multiinstance", point:this.localToGlobal(_loc_2)});
            return;
        }// end function

    }
}
